package nothing.dao;

import java.sql.Date;
import org.appfuse.dao.GenericDao;
import nothing.model.Diary;

import java.util.List;

public interface DiaryDao extends GenericDao<Diary, Long> {
    List findByName(String name);
    List<Diary> findByDate(Date date);
}
